package com.rmt.www.dao;

import java.util.List;

import com.rmt.www.constant.ArtifactType;
import com.rmt.www.vo.Artifact;
import com.rmt.www.vo.Project;

public interface ArtifactDao {
	
	public int insertArtifact(Artifact artifact);
	
	public Artifact getArtifactById(int aid);
	
	public List<Artifact> getArtifactsByTypeAndPId(String artifactType, int pid);
	
	public void updateArtifact(Artifact newArtifact);
	
	public void deleteArtifactById(int aid);
	
}
